home *** CD-ROM | disk | FTP | other *** search
/ Guidemac 2 / Guidemac 2.iso / Divers Computer Bench⁄Apple / Logiciels Apple (dpt AppleSoft) / Apple Media Tool / Apple Media Tool Démo / Exemples AMT / Travel / For Programmers / SOURCES / S2_COAST.k < prev    next >
Text File  |  1993-07-01  |  4KB  |  268 lines

  1. object S2_COAST is MEDIADISTRIBUTOR
  2. has
  3.     
  4.     OffScreen()
  5.         do
  6.             self.Enable(false);
  7.             self.Show(true);
  8.         end;
  9.     
  10. with
  11.     Enabled is false;
  12.     Running is false;
  13.     Duration is -1;
  14.     Shown is false;
  15.     X is 0; Y is 0; Width is 640; Height is 480;
  16.     Items is [
  17.         S2A1_S2_CST,
  18.         S2A3_AUD_CLK_WAV,
  19.         S2A18_LA_HL,
  20.         S2A19_SD_HL,
  21.         S2A17_LOS_ANGELES,
  22.         S2A16_SAN_DIEGO,
  23.         S2A20_SAC_HL,
  24.         S2A21_SF_HL,
  25.         S2A15_SAN_FRANCISCO,
  26.         S2A14_SACREMENTO
  27.     ];
  28. end;
  29.  
  30. object S2A1_S2_CST is MEDIADELEGATOR
  31. has
  32.     
  33.     OffScreen()
  34.         do
  35.             self.Enable(false);
  36.             self.Show(true);
  37.         end;
  38.     
  39. with
  40.     Target is C11_S2_CST;
  41.     Enabled is false;
  42.     Running is false;
  43.     Duration is -1;
  44.     Shown is false;
  45.     X is 0; Y is 0; Width is 640; Height is 480;
  46.     HotRegion is {
  47.         $01DF0002, $0000027F, $01E00000, $FFFFFFFF
  48.     };
  49. end;
  50.  
  51. object S2A3_AUD_CLK_WAV is MEDIADELEGATOR
  52. has
  53.     
  54.     OffScreen()
  55.         do
  56.             self.Enable(true);
  57.             self.Show(true);
  58.         end;
  59.     
  60.     MouseDown(theX, theY)
  61.         do
  62.             self.Show(true);
  63.             APPLICATION.GoBack(MEDIADISTRIBUTOR);
  64.             TRANSITION.Set(WipeLeft, 30);
  65.         end;
  66.     
  67. with
  68.     Target is C126_AUD_CLK_WAV;
  69.     Enabled is false;
  70.     Running is false;
  71.     Duration is 0;
  72.     Shown is false;
  73.     X is 13; Y is 426; Width is 68; Height is 48;
  74. end;
  75.  
  76. object S2A18_LA_HL is MEDIADELEGATOR
  77. has
  78.     
  79.     OffScreen()
  80.         do
  81.             self.Enable(false);
  82.             self.Show(false);
  83.         end;
  84.     
  85. with
  86.     Target is C77_LA_HL;
  87.     Enabled is false;
  88.     Running is false;
  89.     Duration is -1;
  90.     Shown is false;
  91.     X is 398; Y is 346; Width is 118; Height is 25;
  92. end;
  93.  
  94. object S2A19_SD_HL is MEDIADELEGATOR
  95. has
  96.     
  97.     OffScreen()
  98.         do
  99.             self.Enable(false);
  100.             self.Show(false);
  101.         end;
  102.     
  103. with
  104.     Target is C78_SD_HL;
  105.     Enabled is false;
  106.     Running is false;
  107.     Duration is -1;
  108.     Shown is false;
  109.     X is 460; Y is 394; Width is 93; Height is 22;
  110. end;
  111.  
  112. object S2A17_LOS_ANGELES is MEDIADELEGATOR
  113. has
  114.     
  115.     OffScreen()
  116.         do
  117.             self.Enable(true);
  118.             self.Show(false);
  119.         end;
  120.     
  121.     MouseEnter(theX, theY)
  122.         do
  123.             S2A18_LA_HL.Show(true);
  124.         end;
  125.     
  126.     MouseLeave(theX, theY)
  127.         do
  128.             S2A18_LA_HL.Show(false);
  129.         end;
  130.     
  131. with
  132.     Enabled is false;
  133.     Running is false;
  134.     Duration is -1;
  135.     Shown is false;
  136.     X is 495; Y is 350; Width is 23; Height is 20;
  137. end;
  138.  
  139. object S2A16_SAN_DIEGO is MEDIADELEGATOR
  140. has
  141.     
  142.     OffScreen()
  143.         do
  144.             self.Enable(true);
  145.             self.Show(false);
  146.         end;
  147.     
  148.     MouseEnter(theX, theY)
  149.         do
  150.             S2A19_SD_HL.Show(true);
  151.         end;
  152.     
  153.     MouseLeave(theX, theY)
  154.         do
  155.             S2A19_SD_HL.Show(false);
  156.         end;
  157.     
  158. with
  159.     Enabled is false;
  160.     Running is false;
  161.     Duration is -1;
  162.     Shown is false;
  163.     X is 535; Y is 395; Width is 22; Height is 19;
  164. end;
  165.  
  166. object S2A20_SAC_HL is MEDIADELEGATOR
  167. has
  168.     
  169.     OffScreen()
  170.         do
  171.             self.Enable(false);
  172.             self.Show(false);
  173.         end;
  174.     
  175. with
  176.     Target is C75_SAC_HL;
  177.     Enabled is false;
  178.     Running is false;
  179.     Duration is -1;
  180.     Shown is false;
  181.     X is 372; Y is 149; Width is 96; Height is 37;
  182. end;
  183.  
  184. object S2A21_SF_HL is MEDIADELEGATOR
  185. has
  186.     
  187.     OffScreen()
  188.         do
  189.             self.Enable(false);
  190.             self.Show(false);
  191.         end;
  192.     
  193.     MouseDown(theX, theY)
  194.         do
  195.             APPLICATION.GoTo(S3_CITY);
  196.         end;
  197.     
  198. with
  199.     Target is C76_SF_HL;
  200.     Enabled is false;
  201.     Running is false;
  202.     Duration is -1;
  203.     Shown is false;
  204.     X is 267; Y is 187; Width is 106; Height is 24;
  205. end;
  206.  
  207. object S2A15_SAN_FRANCISCO is MEDIADELEGATOR
  208. has
  209.     
  210.     OffScreen()
  211.         do
  212.             self.Enable(true);
  213.             self.Show(false);
  214.         end;
  215.     
  216.     MouseDown(theX, theY)
  217.         do
  218.             S2A3_AUD_CLK_WAV.Run(true);
  219.             TRANSITION.Set(WipeRight, 30);
  220.             APPLICATION.GoTo(S3_CITY);
  221.         end;
  222.     
  223.     MouseEnter(theX, theY)
  224.         do
  225.             S2A21_SF_HL.Show(true);
  226.         end;
  227.     
  228.     MouseLeave(theX, theY)
  229.         do
  230.             S2A21_SF_HL.Show(false);
  231.         end;
  232.     
  233. with
  234.     Enabled is false;
  235.     Running is false;
  236.     Duration is -1;
  237.     Shown is false;
  238.     X is 353; Y is 187; Width is 25; Height is 24;
  239. end;
  240.  
  241. object S2A14_SACREMENTO is MEDIADELEGATOR
  242. has
  243.     
  244.     OffScreen()
  245.         do
  246.             self.Enable(true);
  247.             self.Show(false);
  248.         end;
  249.     
  250.     MouseEnter(theX, theY)
  251.         do
  252.             S2A20_SAC_HL.Show(true);
  253.         end;
  254.     
  255.     MouseLeave(theX, theY)
  256.         do
  257.             S2A20_SAC_HL.Show(false);
  258.         end;
  259.     
  260. with
  261.     Enabled is false;
  262.     Running is false;
  263.     Duration is -1;
  264.     Shown is false;
  265.     X is 401; Y is 167; Width is 23; Height is 19;
  266. end;
  267.  
  268.